using UnityEngine;

public class DisconnectLabel : MonoBehaviour
{
	public UILabel timeLabel;

	public void Show(float timeRemaining)
	{
		base.gameObject.SetActive(true);
		timeLabel.text = "You win in: " + Mathf.Max(0f, Mathf.Ceil(timeRemaining));
	}

	public void Hide()
	{
		base.gameObject.SetActive(false);
	}
}
